Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions CI Workflow #6

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Add GitHub Actions CI Workflow #6

merged 1 commit into from
Feb 27, 2024

Conversation

GrammAcc
Copy link
Owner

I added a github actions workflow for running the test suite on PRs and direct pushes to both dev and main.

For some reason, the bash shell on the windows runner doesn't work when the shell script is a string in the hatch run command, but it works when it's executed as a script, so I also added a test-suite.sh script that is run by hatch in order to get the same test suite behavior on Linux, MacOS, and Windows.

I also added an exit code to the checkresults.py script so that failed tests will properly trigger a failure in the CI.

I added a github actions workflow for running the test suite on PRs and
direct pushes to both dev and main.

For some reason, the bash shell on the windows runner doesn't work when
the shell script is a string in the hatch run command, but it works when
it's executed as a script, so I also added a `test-suite.sh` script that
is run by hatch in order to get the same test suite behavior on Linux,
MacOS, and Windows.

I also added an exit code to the `checkresults.py` script so that failed
tests will properly trigger a failure in the CI.
@GrammAcc GrammAcc added the enhancement New feature or request label Feb 27, 2024
@GrammAcc GrammAcc merged commit 0fc2cf0 into main Feb 27, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant